home *** CD-ROM | disk | FTP | other *** search
/ Cream of the Crop 25 / Cream of the Crop 25.iso / bbs / tmg107.zip / MAGIC.ZIP / EVENTS.DAT < prev    next >
Text File  |  1997-03-03  |  2KB  |  51 lines

  1. ;  EVENTS.DAT      The Magic Gate
  2. ;   Joseph P. O'Connor (C)opyright 1995-1997 All Rights Reserved
  3. ;----------------------------------------------------------------
  4. ;  This file is read in by TMG (version 1.06 and higher) to run scripts
  5. ;  at the specified days/dates/months/year and time.
  6. ;  The format of the file is as followed (it is space delimited):
  7. ;  Day_of_week Month Date Year Hour (0-24) Minute "script_name param1 param2"
  8. ;  (Sun Mon Tue Wed Thu Fri Sat) for days of Week
  9. ;  Month is a number 01-12
  10. ;  Date is a number 01-31 (TMG is stupid though and if you for example
  11. ;  put in 32 for a date, that script will never run)
  12. ;  year is the full year i.e. 1997
  13. ;  hour is the hour of the time you want the script to run (00-24)
  14. ;  minute is the minute of the time you want the script to run (00-59)
  15. ;  The script name and the parameters must be enclosed within quotation marks
  16. ;  or the event will never run.
  17. ;  the script name is the name of the script you want to run
  18. ;  param1 param2 ... paramn are all the parameters you want to pass to the
  19. ;  script.  You could use 1 script for all your events but pass different
  20. ;  parameters for each individual event and they would all run different ones.
  21.  
  22. ;  In addition, the Day_of_Week, month, date, and year can be replaced by an *
  23. ;  in any combination.  Putting in the * fills in the appropriate field
  24. ;  with the current day_of_week/month/date/year (meaning that if the remaining
  25. ;  non-* fields match the current day, the script will be run that day at the
  26. ;  specified time.
  27.  
  28. ;  Look at the following commented out lines for some examples
  29.  
  30. ;* * 15 * 16 30 "ides.scr"
  31. ;  This script would be run on the 15th of every month (regardless of what day
  32. ;  of the week it fell on)
  33.  
  34. ;Fri * 13 * 23 30 "spook.scr"
  35. ;  This script would run on the 13th of every month as long as the 13th is a
  36. ;  friday... (for those superstitious people)
  37.  
  38. ;Sat * * * 13 00 "Airraid.scr"
  39. ;  This script would run every saturday (doesn't matter what the date is)
  40.  
  41. ;Thu 12 26 1996 19 27 "forest.scr"
  42. ;  This script would run on December 12, 1996 only
  43.  
  44. ;* 10 31 * 18 00 "hallow.scr"
  45. ;  This script would run on October 31st every year
  46.  
  47. ;and finally
  48. ;* 02 * * 17 50 "bhist.scr"
  49. ;  This script would run every day in February
  50.  
  51.